package com.ny.query;

import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.groups.Default;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;

/**
 * 营销活动查询条件
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class MarketingActivityQuery {

    /**
     * 开始日期:开始日期
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "开始日期不能为空")
    @ApiModelProperty(value = "开始日期:开始日期")
    private java.util.Date startDate;

    /**
     * 结束日期:结束日期
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "结束日期不能为空")
    @ApiModelProperty(value = "结束日期:结束日期")
    private java.util.Date endDate;

    /**
     * 页码:页码
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "页码不能为空")
    @ApiModelProperty(value = "页码:页码")
    private Integer pageIndex;

    /**
     * 每页大小:每页大小
     */
    @NotNull(groups = { QueryGroup.class, Default.class }, message = "每页大小不能为空")
    @ApiModelProperty(value = "每页大小:每页大小")
    private Integer pageSize;
}
